package com.moyun.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.moyun.model.po.system.SysPrivilegeEntity;
import com.moyun.model.po.system.SysPrivilegeRoleEntity;

import java.util.List;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author yangboxuan
 * @since 2021-07-01
 */
public interface SysPrivilegeMapper extends BaseMapper<SysPrivilegeEntity> {
    List<SysPrivilegeRoleEntity> selectPrivilegesWithRoles();

    List<SysPrivilegeRoleEntity> selectPrivilegesWithOrgRoles();

}
